package com.md.model.response.system;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.md.util.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 刘骄阳
 * 2023-08-08 12:02
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("手机验证码响应实体")
public class PhoneCodeResponse {
  @ApiModelProperty("验证码")
  private String code;
  @ApiModelProperty("发送时间")
  private LocalDateTime sendTime;

  @Override
  public String toString() {
    return StringUtil.objectToJson(this);
  }
}
